x86: APERF/MPERF feature detect
authorWei Wang <wei.w.wang@intel.com>
Mon, 5 Oct 2015 16:16:39 +0000 (18:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 5 Oct 2015 16:16:39 +0000 (18:16 +0200)
commit8db8887de6f53212e494e08c905d1d672081a01d
tree2b1731b9a79b1acf7e6f23e7e5d3c47f1190b596
parent773e6912909808fc4f9e3f02d1e6602cbfc8133c
x86: APERF/MPERF feature detect

Add support to detect the APERF/MPERF feature. Also, remove the identical
code in cpufreq.c and powernow.c.

Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Cosmetics.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/cpufreq/cpufreq.c
xen/arch/x86/acpi/cpufreq/powernow.c
xen/arch/x86/cpu/common.c
xen/include/asm-x86/cpufeature.h